package com.shaoxi.risk.domain.context;

import com.shaoxi.risk.api.req.PriceRiskReq;
import com.shaoxi.risk.domain.model.RiskEvent;

import java.util.Map;

/**
 * 风险请求上下文
 */
public class PriceRiskContext {
    /**
     * 风险事件
     */
    private RiskEvent riskEvent;

    /**
     * 价格风险请求
     */
    private PriceRiskReq priceRiskReq;

    /**
     * 上下文
     */
    private Map<String, Object> context;

    public RiskEvent getRiskEvent() {
        return riskEvent;
    }

    public void setRiskEvent(RiskEvent riskEvent) {
        this.riskEvent = riskEvent;
    }

    public Map<String, Object> getContext() {
        return context;
    }

    public void setContext(Map<String, Object> context) {
        this.context = context;
    }

    public PriceRiskReq getPriceRiskReq() {
        return priceRiskReq;
    }

    public void setPriceRiskReq(PriceRiskReq priceRiskReq) {
        this.priceRiskReq = priceRiskReq;
    }
}
